//
//  PlayerSingleton.h
//  CatMusic
//
//  Created by dllo on 15/4/25.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

@interface PlayerSingleton : NSObject

+ (instancetype)sharePlayerSingleton;
@property(nonatomic, retain)NSString *playState;                       // 当前播放的状态
@property(nonatomic, retain)AVPlayer *player;
@property(nonatomic, retain)AVPlayerItem *playerItem;                  //
@property(nonatomic, copy)NSString *currentMusicURL;                   // 当前音乐的链接
@property(nonatomic, retain)NSMutableArray *currentMusicListArr;       // 当前播放列表
@property(nonatomic, assign)NSInteger index;
@property(nonatomic, assign)BOOL loginState;
@property(nonatomic, retain)NSMutableArray *tryListenArr;               // 试听列表

- (void)player:(NSURL *)url;                // 获得播放歌曲的链接

@end
